package com.gz.pass.builder;

/**
 * @author juice-gz
 * date 2022-01-20
 */
public class Person {
    private  String head ;
    private  String body ;
    private  String arm;
    private  String legs;

    public Person() {
    }

    public Person(String head, String body, String arm, String legs) {
        this.head = head;
        this.body = body;
        this.arm = arm;
        this.legs = legs;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getArm() {
        return arm;
    }

    public void setArm(String arm) {
        this.arm = arm;
    }

    public String getLegs() {
        return legs;
    }

    public void setLegs(String legs) {
        this.legs = legs;
    }

    @Override
    public String toString() {
        return "Person{" +
                "head='" + head + '\'' +
                ", body='" + body + '\'' +
                ", arm='" + arm + '\'' +
                ", legs='" + legs + '\'' +
                '}';
    }

    public  String  showPerson(){
        return toString();
    }
}
